<ul class="image-list">
    <li class="control">
        <?= $this->element('image_picker', array(
                'name' => "New{$name}."
        )) ?>
    </li>
    <? $data = $data ? $data : array() ?>
    <? foreach ($data as $k=>$image): ?>
    <li>
        <a class="remove" href="javascript:void(0)" onclick="$(this).parent().remove()">x</a>
        <?= $this->Form->hidden("{$name}.$k.id", array('value' => $image['id'])) ?>
        <?= $this->Form->hidden("{$name}.$k.src", array('value' => $image['src'])) ?>
        <?= $this->Html->image(sprintf($src, $image['src']) . "?w=100&h=100") ?>
    </li>
    <? endforeach ?>
</ul>